<template>
  <div class="about">
    <h1>This is an about page</h1>
    <router-link to="/home/read">12121</router-link>
    <router-view/>
    <button @click="add"></button>
  </div>
</template>
<script>
export default {
  data() {
    return {

    }
  },

  created() {
      console.log(this.$store.state.name)
  },

  methods: {
      add() {
        console.log(this.$store.state.name)
        console.log(1)
      }
  }
}
</script>
